2 // created: 2010-04-24 18:20:46
3 $viewdefs['Leads']['DetailView'] = array (
15 'customCode' => '<input title="{$MOD.LBL_CONVERTLEAD_TITLE}" accessKey="{$MOD.LBL_CONVERTLEAD_BUTTON_KEY}" type="button" class="button" onClick="document.location=\'index.php?module=Leads&action=ConvertLead&record={$fields.id.value}\'" name="convert" value="{$MOD.LBL_CONVERTLEAD}">',
19 'customCode' => '<input title="{$APP.LBL_DUP_MERGE}" accessKey="M" class="button" onclick="this.form.return_module.value=\'Leads\'; this.form.return_action.value=\'DetailView\';this.form.return_id.value=\'{$fields.id.value}\'; this.form.action.value=\'Step1\'; this.form.module.value=\'MergeRecords\';" type="submit" name="Merge" value="{$APP.LBL_DUP_MERGE}">',
23 'customCode' => '<input title="{$APP.LBL_MANAGE_SUBSCRIPTIONS}" class="button" onclick="this.form.return_module.value=\'Leads\'; this.form.return_action.value=\'DetailView\';this.form.return_id.value=\'{$fields.id.value}\'; this.form.action.value=\'Subscriptions\'; this.form.module.value=\'Campaigns\'; this.form.module_tab.value=\'Leads\';" type="submit" name="Manage Subscriptions" value="{$APP.LBL_MANAGE_SUBSCRIPTIONS}">',
26 'headerTpl' => 'modules/Leads/tpls/DetailViewHeader.tpl',
46 'file' => 'modules/Leads/Lead.js',
58 'name' => 'full_name',
59 'label' => 'LBL_NAME',
63 'name' => 'account_name',
64 'label' => 'LBL_ACCOUNT_NAME',
72 'label' => 'LBL_TITLE',
76 'name' => 'phone_work',
77 'label' => 'LBL_OFFICE_PHONE',
84 'name' => 'phone_other',
85 'label' => 'LBL_OTHER_PHONE',
89 'name' => 'phone_fax',
90 'label' => 'LBL_FAX_PHONE',
97 'name' => 'lead_source',
98 'label' => 'LBL_LEAD_SOURCE',
102 'name' => 'lead_source_description',
103 'label' => 'LBL_LEAD_SOURCE_DESCRIPTION',
111 'label' => 'LBL_STATUS',
115 'name' => 'manufacturers_c',
116 'label' => 'LBL_MANUFACTURERS',
124 'label' => 'LBL_EMAIL_ADDRESS',
128 'name' => 'oe_dealer_code_c',
129 'label' => 'LBL_OE_DEALER_CODE',
136 'name' => 'refered_by',
137 'label' => 'LBL_REFERED_BY',
141 'name' => 'regions_c',
142 'label' => 'LBL_REGIONS',
149 'name' => 'campaign_name',
150 'label' => 'LBL_CAMPAIGN',
154 'name' => 'department',
155 'label' => 'LBL_DEPARTMENT',
162 'name' => 'do_not_call',
163 'label' => 'LBL_DO_NOT_CALL',
167 'name' => 'team_name',
168 'label' => 'LBL_TEAM',
175 'name' => 'date_modified',
176 'label' => 'LBL_DATE_MODIFIED',
177 'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
181 'name' => 'assigned_user_name',
182 'label' => 'LBL_ASSIGNED_TO',
189 'name' => 'created_by',
190 'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value} ',
191 'label' => 'LBL_DATE_ENTERED',
193 1 => 'opportunity_amount',
203 'name' => 'primary_address_street',
204 'label' => 'LBL_PRIMARY_ADDRESS',
216 'name' => 'description',
217 'label' => 'LBL_DESCRIPTION',